package com.mind.adjust.mapper;

import com.mind.system.domain.AjAttachCateRuleField;
import java.util.List;

/**
 * 附件类型规则字段(AjAttachCateRuleField)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-11 17:55:41
 */
public interface AjAttachCateRuleFieldMapper {

    /**
     * 查询附件类型规则字段数据集合
     * 
     * @param attachCateRuleField 附件类型规则字段信息
     * @return 附件类型规则字段数据集合
     */
    public List<AjAttachCateRuleField> selectAttachCateRuleFieldList(AjAttachCateRuleField attachCateRuleField);

    /**
     * 通过附件类型规则字段ID查询附件类型规则字段信息
     * 
     * @param attachCateRuleFieldId 附件类型规则字段ID
     * @return 角色对象信息
     */
    public AjAttachCateRuleField selectAttachCateRuleFieldById(Long attachCateRuleFieldId);

    /**
     * 删除附件类型规则字段信息
     * 
     * @param attachCateRuleFieldId 附件类型规则字段ID
     * @return 结果
     */
    public int deleteAttachCateRuleFieldById(Long attachCateRuleFieldId);

    /**
     * 批量删除附件类型规则字段信息
     * 
     * @param attachCateRuleFieldIds 需要删除的附件类型规则字段ID
     * @return 结果
     */
    public int deleteAttachCateRuleFieldByIds(Long[] attachCateRuleFieldIds);

    /**
     * 修改附件类型规则字段信息
     * 
     * @param attachCateRuleField 附件类型规则字段信息
     * @return 结果
     */
    public int updateAttachCateRuleField(AjAttachCateRuleField attachCateRuleField);

    /**
     * 新增附件类型规则字段信息
     * 
     * @param attachCateRuleField 附件类型规则字段信息
     * @return 结果
     */
    public int insertAttachCateRuleField(AjAttachCateRuleField attachCateRuleField);
    
    /**
     * 批量新增附件类型规则字段信息
     * 
     * @param attachCateRuleFieldList 附件类型规则字段信息
     * @return 结果
     */
    public int insertAttachCateRuleFieldBatch(List<AjAttachCateRuleField> attachCateRuleFieldList);
    
    
    /**
     * 根据名称查附件类型规则字段
     *
     * @param name 附件类型规则字段名称
     * @return 结果
     */
    AjAttachCateRuleField selectAttachCateRuleFieldByName(String name);
}

